home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 19 / Amiga Plus Leser CD 19.iso / Tools / MorphOS / cvs-1.11.2 / source / amiga / ssh / Makefile < prev    next >
Encoding:
Makefile  |  2002-11-18  |  1.8 KB  |  77 lines

  1. #
  2. # $Id$
  3. #
  4. # :ts=4
  5. #
  6. # AmigaOS wrapper routines for GNU CVS, using the RoadShow TCP/IP API
  7. #
  8. # Written and adapted by Olaf `Olsen' Barthel <olsen@sourcery.han.de>
  9. #                        Jens Langner <Jens.Langner@light-speed.de>
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version.
  15. #
  16. # This program is distributed in the hope that it will be useful,
  17. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. # GNU General Public License for more details.
  20. #
  21. # You should have received a copy of the GNU General Public License
  22. # along with this program; if not, write to the Free Software
  23. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24. #
  25.  
  26. TARGET    = libssh.a
  27.  
  28. #
  29.  
  30. CC        = gcc
  31. STRIP     = strip
  32. OBJDUMP   = objdump
  33. RANLIB    = ranlib
  34. AR        = ar
  35. RM        = rm -f
  36.  
  37. CPU      = -m68020
  38. CPUFLAGS =
  39. WARN     = -Wall
  40. OPTFLAGS = -O2 -fomit-frame-pointer -fstrength-reduce -resident
  41. DEBUG    = -DDEBUG -g3 -O0
  42. CFLAGS   = -noixemul -I./ -I../netinclude $(CPU) $(CPUFLAGS) $(WARN) $(OPTFLAGS) $(DEBUG) -c
  43.  
  44. # CPU and DEBUG can be defined outside, defaults to above
  45. # using e.g. "make DEBUG= CPU=-mcpu=603e" produces optimized non-debug PPC-603e version
  46. #
  47. # OPTFLAGS are disabled by DEBUG normally!
  48. #
  49. # ignored warnings are:
  50. # none - because we want to compile with -Wall all the time
  51. #
  52.  
  53. OBJS = blowfish.o crc.o des.o md5.o rsa.o ssh_protocol.o
  54.  
  55. #
  56.  
  57. all: $(TARGET)
  58.  
  59. #
  60.  
  61. %.o: %.c
  62.     $(CC) $(CFLAGS) $< -o $@
  63.  
  64. #
  65.  
  66. $(TARGET): $(OBJS)
  67.     $(AR) rs $@ $(OBJS)
  68.  
  69. clean:
  70.     -$(RM) $(TARGET) $(OBJS)
  71.  
  72. #######################################
  73.  
  74.  
  75. #######################################
  76.  
  77.